from django.urls import path
from . import views


urlpatterns = [
    path('login_for_modal/', views.login_for_modal, name='login_for_modal'),
    path('login/', views.user_login, name='user_login'),  # 用户登录跳转的url
    path('register/', views.user_register, name='user_register'),  # 用户注册跳转的url
    path('logout/', views.user_logout, name='user_logout'),
    path('user_info/', views.user_info, name='user_info'),   # 跳转至用户信息
    path('change_nickname/', views.change_nickname, name='change_nickname'), # 跳转至修改昵称界面
    path('bind_email/', views.bind_email, name='bind_email'),  # 跳转至绑定邮箱的页面
    path('send_verification_code/', views.send_verification_code, name='send_verification_code'), # 处理发送验证码的操作
    path('change_password/', views.change_password, name='change_password'),  # 跳转至修改密码的服务
    path('forgot_password/', views.forgot_password, name='forgot_password'),  # 跳转至处理忘记密码的页码
]
